
from random import randint
s = int(input())
count = 0
xfora = -7
yfora = -8

xforb = 5
yforb = -8

xforc = 5
yforc = 5

xford = -7
yford = 5

for i in range(s):
    x = randint(-100, 100)
    y = randint(-100, 100)
    if (x > -7) and (x < 5) and (y > -8) and (y < 5):
        count = count + 1
print('количество попыток: ', s)
print('общее количество попаданий:', count)
